package com.gexin.model.activity;

import com.gexin.model.activity.base.BaseCompanyCoin;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 业务名称:  t_company_coin() 
 */
@SuppressWarnings("serial")
public class CompanyCoin extends BaseCompanyCoin<CompanyCoin> {
	public static final CompanyCoin dao = new CompanyCoin();

	public void setCompanyCoin(String userId,BigDecimal commission){
		this.setId(System.currentTimeMillis()/1000+"");
		this.setCommission(commission);
		this.setUserId(userId);
 		Long date = new Date().getTime();
		this.setCreateTime(date);
		this.setUpdateTime(date);
	}



}
